package maze;

import static org.junit.Assert.*;

import org.junit.Test;

public class MazeTest {

	@Test
	public void test() {
		Maze maze=new Maze(4);
		maze.match(2, 1, -1, 0, Direction.EAST, Direction.SOUTH);
		assertTrue(maze.getCoordinateOfLocation(new Location(-20,-20), false).equals(new Coordinate(3, 1)));
		
	}

}
